// 获取 设备信息
import { ref } from 'vue';

const systemInfo = ref({}) as any;

function setSystemInfo() {
  uni.getSystemInfo({
    success(system) {
      console.log('99', system);
    }
  })
}

export default function useSystem() {
  return [systemInfo, setSystemInfo];
}